package com.gt.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("sc_check")
@Data
@ApiModel("检查")
public class Check {
    private static final long serialVersionUID = 1L;

    /** 检查id */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "检查id")
    private Long checkId;

    /** 姓名 */
    @ApiModelProperty(value = "姓名")
    private String name;

    /** 性别 */
    @ApiModelProperty(value = "性别")
    private String sex;

    /** 年龄 */
    @ApiModelProperty(value = "年龄")
    private Integer age;

    /** 检查医院 */
    @ApiModelProperty(value = "检查医院")
    private String checkHospital;

    /** 检查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "检查日期")
    private Date checkDate;

    /** 检查结论 */
    @ApiModelProperty(value = "检查结论")
    private String checkResult;

    /** 检查医生 */
    @ApiModelProperty(value = "检查医生")
    private String checkDoctor;

    /** 检查类型 */
    @ApiModelProperty(value = "检查类型")
    private String checkType;

    /** 检查方式 */
    @ApiModelProperty(value = "检查方式")
    private String checkMethod;

    /** 手术名称 */
    @ApiModelProperty(value = "手术名称")
    private String operationName;

    /** 问卷id */
    @ApiModelProperty(value = "问卷id")
    private Long queId;

    /** 预约id */
    @ApiModelProperty(value = "预约id")
    private Long appointId;

    /** 筛查目录id */
    @ApiModelProperty(value = "筛查目录id")
    private Long sickId;
}
